package com.aidex.quartz.service.impl;

import com.aidex.common.core.service.impl.BasicServiceImpl;
import com.aidex.quartz.domain.SysJobLog;
import com.aidex.quartz.mapper.SysJobLogMapper;
import com.aidex.quartz.service.SysJobLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SysJobLogServiceImpl extends BasicServiceImpl<SysJobLogMapper, SysJobLog> implements SysJobLogService {

    @Override
    @Transactional
    public void clean() {
        mapper.clean();
    }

    @Override
    @Transactional
    public void deleteBySaveDay(String saveDay) {
        mapper.deleteBySaveDay(saveDay);
    }
}
